package com.dailyblue.java.standard.design.工厂模式.简单工厂模式;

public class App {
    public static void main(String[] args) {
        Phone p1 = PhoneFactory.makePhone(1);
        Phone p2 = PhoneFactory.makePhone(2);
        Phone p3 = PhoneFactory.makePhone(3);
        Phone p4 = PhoneFactory.makePhone(4);
        p1.show();
        p2.show();
        p3.show();
        p4.show();
    }
}
